package dao;
 
 import org.apache.ibatis.annotations.Param;
 import pojo.Student;
 
 import java.util.List;
 
 public interface StudentDao {


     int addStudent(Student student);

     Student findStudentById(int id);

     int updateStudent(Student student);

     int deleteStudentById(Integer id);


     List<Student> findAll(@Param("student") Student student, @Param("offset") int offset,@Param("pageSize") int pageSize);

     int count(Student student);

     int login(Student student);
 }
